package com.bearlair.timer;

import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;

public class TimerDemo {
    public static void main(String[] args) {
        Timer timer = new Timer();
        TimerTask timerTask = new TimeTaskDemo();
        timer.schedule(timerTask, new Date(), 1000L);
    }
}
